package com.drinkian.alipay.service;

import com.alipay.api.AlipayApiException;
import com.drinkian.alipay.entity.vo.VOrder;
import com.drinkian.entity.RequestResult;
import org.json.JSONException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IALiPayService {
    RequestResult toPay(VOrder vOrder) throws AlipayApiException, JSONException;
    void payCallback(HttpServletRequest request, HttpServletResponse response) throws AlipayApiException;
}
